home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
CRESC
/
Variations
/
eval-list
< prev
next >
Wrap
Lisp/Scheme
|
1996-12-31
|
593b
|
20 lines
eval-list list-of-variables
Use this utility function to evaluate a <list-of-variables>. This can be useful when working to structure motives into large phrases or movements.
(setq mphr1 '(a b c b))
(setq mphr2 '(d e e e))
(setq orn1 '(f f g g f))
(setq orn2 '(= g g g f f f))
(setq mvar1 (gen-variants 0.13 7 mphr1))
(setq mvar2 (gen-variants 0.13 3 mphr2))
(setq section1m
(gen-variants 0.13 3 '(mvar1 mvar2 orn1 mvar2 orn2)))
(def-instrument-symbol
perc (eval-list section1m)
)
Eval manually (eval-list section1m) to examine the results in the Listener.